PROJECT(BrainFunc) 

CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0)

SET( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Modules")
INCLUDE( FindQwt5 )

IF(COMMAND CMAKE_POLICY)
  CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)


FIND_PACKAGE(Qt4 REQUIRED) # find and setup Qt4 for this project
FIND_PACKAGE(Qwt5 REQUIRED)

# tell cmake to process CMakeLists.txt in that subdirectory
ADD_SUBDIRECTORY(src)
